package com.ms.service.module.baccarat.db;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xpec.c4.db.model.basic.BasicModel;

/**
 * 百家樂活動連勝紀錄 
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "bacr_activtiy_combos_setting")
public class BacrActivityCombosInfoModel extends BasicModel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7275536650564718803L;

	/**
	 * 桌ID
	 */
	private String tableID;
	
	/**
	 * 活動狀態
	 */
	private boolean isActive;
	
	/**
	 * 起始時間
	 */
	private long startTime;
	
	/**
	 * 結束時間
	 */
	private long endTime;
	
	/**
	 * 該桌連勝最低注
	 */
	private int lowestBet;
	
	/**
	 * 活動連勝有效時間(單位：秒)
	 */
	private long effctiveCombosTime;
	
	/**
	 * 最大連勝紀錄
	 */
	private int maxCombo;
	
	/**
	 * 階段1連勝數
	 */
	private int comboStage1;
	
	/**
	 * 階段1連勝得分
	 */
	private long scoreStage1;
	
	/**
	 * 階段2連勝數
	 */
	private int comboStage2;
	
	/**
	 * 階段2連勝得分
	 */
	private long scoreStage2;
	
	/**
	 * 階段3連勝數
	 */
	private int comboStage3;
	
	/**
	 * 階段3連勝得分
	 */
	private long scoreStage3;
	
	/**
	 * 階段4連勝數
	 */
	private int comboStage4;
	
	/**
	 * 階段4連勝得分
	 */
	private long scoreStage4;
	
	/**
	 * 階段5連勝數
	 */
	private int comboStage5;
	
	/**
	 * 階段5連勝得分
	 */
	private long scoreStage5;

	@Id
	public String getTableID() {
		return tableID;
	}

	public void setTableID(String tableID) {
		this.tableID = tableID;
	}

	public int getLowestBet() {
		return lowestBet;
	}

	public void setLowestBet(int lowestBet) {
		this.lowestBet = lowestBet;
	}

	public long getEffctiveCombosTime() {
		return effctiveCombosTime;
	}

	public void setEffctiveCombosTime(long effctiveCombosTime) {
		this.effctiveCombosTime = effctiveCombosTime;
	}

	public int getMaxCombo() {
		return maxCombo;
	}

	public void setMaxCombo(int maxCombo) {
		this.maxCombo = maxCombo;
	}

	public int getComboStage1() {
		return comboStage1;
	}

	public void setComboStage1(int comboStage1) {
		this.comboStage1 = comboStage1;
	}

	public long getScoreStage1() {
		return scoreStage1;
	}

	public void setScoreStage1(long scoreStage1) {
		this.scoreStage1 = scoreStage1;
	}

	public int getComboStage2() {
		return comboStage2;
	}

	public void setComboStage2(int comboStage2) {
		this.comboStage2 = comboStage2;
	}

	public long getScoreStage2() {
		return scoreStage2;
	}

	public void setScoreStage2(long scoreStage2) {
		this.scoreStage2 = scoreStage2;
	}

	public int getComboStage3() {
		return comboStage3;
	}

	public void setComboStage3(int comboStage3) {
		this.comboStage3 = comboStage3;
	}

	public long getScoreStage3() {
		return scoreStage3;
	}

	public void setScoreStage3(long scoreStage3) {
		this.scoreStage3 = scoreStage3;
	}

	public int getComboStage4() {
		return comboStage4;
	}

	public void setComboStage4(int comboStage4) {
		this.comboStage4 = comboStage4;
	}

	public long getScoreStage4() {
		return scoreStage4;
	}

	public void setScoreStage4(long scoreStage4) {
		this.scoreStage4 = scoreStage4;
	}

	public int getComboStage5() {
		return comboStage5;
	}

	public void setComboStage5(int comboStage5) {
		this.comboStage5 = comboStage5;
	}

	public long getScoreStage5() {
		return scoreStage5;
	}

	public void setScoreStage5(long scoreStage5) {
		this.scoreStage5 = scoreStage5;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public long getEndTime() {
		return endTime;
	}

	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}

	@Column(nullable = false, columnDefinition = "boolean default false")
	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

}
